from ultralytics import YOLO
 
# Load a model
model = YOLO("models\\best.pt")  # load an official model
 
# Export the model
model.export(format="onnx")
